• recategorized by
7,334 views
33 33 votes

An unrestricted use of the "$goto$" statement is harmful because

  1. it makes it more difficult to verify programs
  2. it increases the running time of the programs
  3. it increases the memory required for the programs
  4. it results in the compiler generating longer machine code

2 Answers

Best answer
66 66 votes
Use of $goto$ takes out the structural decomposition of the code and hence it becomes very difficult to verify or debug the code. As far as performance or memory impact is concerned, $goto$ has no effect on them.

Correct Answer: $A$
• edited by
Answer:
Position:
Show:

Related questions

45 45 votes
4 answers 4 answers
15.6k
15.6k views
Keith Kr asked Sep 4, 2014
15,559 views
In which of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?Passing a constant value as a ...
34 34 votes
5 answers 5 answers
9.8k
9.8k views
Misbah Ghaya asked Nov 27, 2016
9,786 views
An unrestricted use of the "go to" statement is harmful because of which of the following reason (s):It makes it more difficult to verify programs.It makes programs more ...
28 28 votes
5 answers 5 answers
11.0k
11.0k views
Kathleen asked Oct 4, 2014
10,977 views
The number of edges in a regular graph of degree $d$ and $n$ vertices is ____________
1 1 vote
1 answers 1 answer
2.6k
2.6k views
Kathleen asked Oct 5, 2014
2,634 views
Consider the program below:Program main: var r:integer; procedure two: begin write (r); end procedure one: var r:integer; begin r:=5; two; end begin r:=2; two; one; two; ...